import ajax from '@utils/ajax'

/**
 * 
 * @module 用户申请开票管理
 */

// 查询列表
export const getInvoiceList = params => ajax.post('invoice/getUserBillingListByPage', params)

// 确认开票
export const confirmInvoice = params => ajax.post('invoice/applyBilling', params)

// 撤销开票
export const revokeInvoice = params => ajax.post('invoice/cancelBilling', params)

// 获取开票状态
export const getStatusList = params => ajax.post('invoice/getInvoiceStatus', params)

// 获取详情
export const getDetail = params => ajax.post('invoice/getBillingDetail', params)
